<#if !parameters.href?exists><#-- 如果没指定href,则使用约定url -->
<#assign escapedOptionId="${parameters.id?string?replace('.', '_')}">
<@s.url id="indexurl" action="${parameters.id}-index" namespace="/widgets" />
	options_${escapedOptionId?html}.url = "${indexurl}";
</#if>
<#include "/${parameters.templateDir}/jquery/grid-close.ftl" />
<script>$(function(){ $("#${escapedOptionId?html}").enhanceGrid(); });</script>